package com.ruoyi.city.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 地点列表对象 place
 * 
 * @author tzh
 * @date 2025-09-12
 */
public class Place extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地点ID */
    @Excel(name = "地点ID")
    private Long id;

    /** 地点名称 */
    @Excel(name = "地点名称")
    private String placeName;

    /** 所属地铁线路ID */
    @Excel(name = "所属地铁线路ID")
    private Long subwayLineId;

    /** 附近地铁站ID */
    @Excel(name = "附近地铁站ID")
    private Long subwayStationId;

    /** 地点描述 */
    @Excel(name = "地点描述")
    private String description;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPlaceName(String placeName) 
    {
        this.placeName = placeName;
    }

    public String getPlaceName() 
    {
        return placeName;
    }

    public void setSubwayLineId(Long subwayLineId) 
    {
        this.subwayLineId = subwayLineId;
    }

    public Long getSubwayLineId() 
    {
        return subwayLineId;
    }

    public void setSubwayStationId(Long subwayStationId) 
    {
        this.subwayStationId = subwayStationId;
    }

    public Long getSubwayStationId() 
    {
        return subwayStationId;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("placeName", getPlaceName())
            .append("subwayLineId", getSubwayLineId())
            .append("subwayStationId", getSubwayStationId())
            .append("description", getDescription())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
